#include <TGS/GeoMath2.0/Point.h>
#include <cstdlib>// for NULL

namespace TGS{
namespace GeoMath{

Point::Point()
{

}

Point::Point(double x, double y)
	: _x(x)
	, _y(y)
{

}

double Point::getX() const
{
	return _x;
}

double Point::getY() const
{
	return _y;
}

void Point::setX(double x)
{
	_x = x;
}

void Point::setY(double y)
{
	_y = y;
}

//////////////////////////////////////////////////////////////////////////

bool operator==(const Point& lhs, const Point& rhs)
{
	return (lhs.getX() == rhs.getX()) && (lhs.getY() == rhs.getY());
}


}
}